package _thread_lock._futurepattern._future;

/**
 * @Author: huangya
 * @Date: 2020/10/19
 * @Description:
 */
@FunctionalInterface
public interface Task<IN, OUT> {

    //给定一个参数，经过计算返回结果
    OUT get(IN input);
}
